import { createRouter,createWebHashHistory } from "vue-router";
import HomeVue from '../components/HomeMain.vue'
import AboutVue from '../components/AboutBro.vue'
import ListBroVue from '../components/ListBro.vue'
import DetailBroVue from '../components/DetailBro.vue'




const routes = [
    {
      path:'/',
      name:HomeVue,
      component:HomeVue
    },
    {
      path:'/about',
      component:AboutVue
    },
    {
      path:'/list',
      component:ListBroVue
    },
    {
      path:'/detail',
      component:DetailBroVue
    }
  ]

  
  const router = createRouter({
    history:createWebHashHistory(),
    routes
  })

  

  export default router
